package com.xqboss.apps.domain.user;


import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.user.WrenchReceiveTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户资产-扳手领取记录
 *
 * @author makejava
 * @since 2023-12-08 13:46:54
 */
@Data
@ApiModel("用户资产-扳手领取记录")
public class UserAssetWrenchReceive extends BaseTable {


    @TableId(type = IdType.AUTO)
    private Long id;


    @ApiModelProperty("用户id")
    private Long userId;


    @ApiModelProperty("金额")
    private BigDecimal amount;


    @ApiModelProperty("来源用户id")
    private Long fromUserId;


    @ApiModelProperty("来源用户上级id")
    private Long fromUserParentId;


    @ApiModelProperty("类型")
    private WrenchReceiveTypeEnum type;


    @ApiModelProperty("备注")
    private String remark;


    @ApiModelProperty("是否已领取")
    private Integer isReceive;


    @ApiModelProperty("领取时间")
    private Date receiveTime;


    @ApiModelProperty("关联藏品id")
    private Long nftId;


    @ApiModelProperty("关联流水记录id")
    private Long recordId;


}
